package com.winit.cloudlink.command;


/**
 * Created by stvli on 2015/11/10.
 */
public class CallbackCommandHeaders extends CommandHeaders {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -1600573652296730716L;

	public CallbackCommandHeaders() {

	}

	@Override
	public String getCommandName() {

		String mesageType = this.commandName;
		if (null != this.shardKey && this.shardKey.trim().length() > 0) {
			mesageType = mesageType + "_" + this.shardKey.trim();
		}
		mesageType = mesageType + Constants.COMMAND_CALLBACK_SUFFIX;
		return mesageType;
	}

}
